package com.vdong.data.service.impl;

import com.vdong.data.model.ShipperOrder;
import com.vdong.data.repository.ShipperOrderRepository;
import com.vdong.data.service.ShipperOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: liangwei
 */
@Service
public class ShipperOrderServiceImpl implements ShipperOrderService {

    @Autowired
    private ShipperOrderRepository shipperOrderRepository;

    @Override
    public ShipperOrder findByShipperId(int shipperId) {
        return shipperOrderRepository.findByShipperId(shipperId);
    }
}
